#ifndef BOARD_FILTER_H
#define BOARD_FILTER_H 1

#include "stm32f10x.h"

//float iir(float NewSample);
float fir(float NewSample);

float median_average(float input_data);


float filterAccelX(float x);
float filterAccelY(float y);
float filterAccelZ(float z);
float filterGyroX(float x);
float filterGyroY(float y);
float filterGyroZ(float z);
float filterMagnX(float x);
float filterMagnY(float y);
float filterMagnZ(float z);

#endif